const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.staffPhto, // 登录人头像
  // 电话
  mobile: state => state.user.userInfo.mobile,
  // 名字/名称
  name: state => state.user.userInfo.username
}
export default getters
